// 审核状态下拉选项
const AUDIT_STATE_OPTIONS = [
  {
    value: 'COMMIT',
    label: '审核中'
  },
  {
    value: 'OK',
    label: '审核通过'
  },
  {
    value: 'FAIL',
    label: '审核未通过'
  }
]
export const FORM_ITEM = [
  {
    prop: 'recordNo',
    label: '单据编号',
    type: 'input',
  },
  {
    prop: 'pusherName',
    label: '提交人名称',
    type: 'input',
  },
  {
    prop: 'auditUserName',
    label: '审核人名字',
    type: 'input',
  },
  {
    prop: 'commitState',
    label: '审核状态',
    type: 'select',
    clearable: true,
    options: AUDIT_STATE_OPTIONS
  },
  {
    prop: 'skuNo',
    label: '商品编码',
    type: 'input',
  },
]
// 存量溢出审批列表
export const RECORD_TABLE_COLUMNS = [
  {
    title: '单据编号',
    key: 'recordNo',
  },
  {
    title: '提交人',
    key: 'pusherName',
  },
  {
    title: '提交人部门',
    key: 'pusherDeptName',
  },
  {
    title: '提交时间',
    key: 'pushTime',
  },
  {
    title: '单据类型',
    key: 'commitTypeStr',
  },
  {
    title: '审核状态',
    key: 'commitStateStr',
  },
  {
    title: '审核人',
    key: 'auditUserName',
  },
  {
    title: '审核人部门',
    key: 'auditDept',
  },
  {
    title: '审核时间',
    key: 'auditTime',
  }
]
// 存量溢出申请单-查看
export const DETAIL_TABLE_COLUMNS = [
  {
    title: '存量溢出属性',
    key: 'stockAttrStr',
  },
  {
    title: '处理方式',
    key: 'processingTypeStr',
  },
  {
    title: '处理备注',
    key: 'remark',
  },
  {
    title: '预计解决日期-首次',
    key: 'planSolveDate',
    width: 140
  },
  {
    title: '预计解决日期-上次',
    key: 'planSolveDateLastmodify',
  },
  {
    title: '产生原因',
    key: 'causes',
  },
  {
    title: '产生原因备注',
    key: 'causesRemark',
  },
  {
    title: '产生原因填写人',
    key: 'causesCreater',
  },
  {
    title: '统计日期',
    key: 'dataDate',
  },
  {
    title: '更新日期',
    key: 'updateDate',
  },
  {
    title: '分公司',
    key: 'companyName',
  },
  {
    title: '仓位',
    key: 'stockName',
  },
  {
    title: '区域',
    key: 'itemAreaStr',
  },
  {
    title: 'SKU编码',
    key: 'skuNo',
  },
  {
    title: '商品名称',
    key: 'productName',
  },
  {
    title: '规格',
    key: 'specDetail',
  },
  {
    title: '计量单位',
    key: 'unitName',
  },
  {
    title: '品牌',
    key: 'brandName',
  },
  {
    title: '商品类型',
    key: 'enumTempProductTypeStr',
  },
  {
    title: '商品管理区域',
    key: 'productManageAreaStr',
  },
  {
    title: '四级类编码',
    key: 'categoryNo',
  },
  {
    title: '四级类名称',
    key: 'categoryName',
  },
  {
    title: '归属中心',
    key: 'attributionCenterName',
  },
  {
    title: '归属部门',
    key: 'attributionDepartmentName',
  },
  {
    title: '是否物流中心',
    key: 'isLogisticStr',
  },
  {
    title: '是否做库存',
    key: 'stockFlagStr',
  },
  {
    title: '上限',
    key: 'upperLimit',
  },
  {
    title: '下限',
    key: 'lowerLimit',
  },
  {
    title: '本区域物流中心上限',
    key: 'areaUpperLimit',
  },
  {
    title: '本区域物流中心下限',
    key: 'areaLowerLimit',
  },
  {
    title: '实物库存',
    key: 'productStock',
  },
  {
    title: '实物可售库存',
    key: 'canSendAmount',
  },
  {
    title: '物流中心实物可售库存',
    key: 'logisticCenterCanSendAmount',
  },
  {
    title: '预计消化天数',
    key: 'planDigestionDays',
  },
  {
    title: '预计消化区间',
    key: 'planDigestionRegionStr',
  },
  {
    title: '占用库存',
    key: 'occupation',
  },
  {
    title: '成本价',
    key: 'costPrice',
  },
  {
    title: '库存金额',
    key: 'stockPrice',
  },
  {
    title: '本公司近三个月销量',
    key: 'threeMonthsOutbound',
  },
  {
    title: '本区域近三个月销量',
    key: 'areaOutboundThreeMonths',
  },
  {
    title: '解决日期是否变化',
    key: 'isSolveDAteModifyStr',
  },
  {
    title: '处理人',
    key: 'processingUserName',
  },
  {
    title: '处理时间',
    key: 'processingTime',
  },
  {
    title: '处理部门',
    key: 'processDepartmentName',
  },
  {
    title: '是否季节性商品',
    key: 'isSeasonStr',
  },
  {
    title: '主供应商',
    key: 'mainSupplyName',
  },
  {
    title: '供应商数量',
    key: 'supplyNum',
  },
  {
    title: '上架期',
    key: 'putOnPeriod',
  },
  {
    title: '下架期',
    key: 'putOffPeriod',
  },
  {
    title: '保质期类型',
    key: 'qualityGuaranteePeriodTypeStr',
  },
  {
    title: '保质期天数',
    key: 'qualityGuaranteePeriodDays',
  },
  {
    title: '新做库存时间',
    key: 'newestStockTime',
  },
  {
    title: '不做库存时间',
    key: 'lastUnstockTime',
  },
  {
    title: '全集团三个月销量',
    key: 'groupThreeMonthSaleTotal',
  },
  {
    title: '存量属性',
    key: 'productStockAttributeStr',
  },
  {
    title: '审批人',
    key: 'auditUserName',
  },
  {
    title: '审批意见',
    key: 'auditOpinion',
  },
  {
    title: '审批时间',
    key: 'auditTime',
  },
  {
    title: '解决措施是否合理',
    key: 'isSolutionReasonableStr',
  },
  {
    title: '复核意见',
    key: 'reviewOpinion',
  },
  {
    title: '复核人',
    key: 'reviewUserName',
  },
  {
    title: '复核部门',
    key: 'reviewDeptName',
  },
  {
    title: '复核时间',
    key: 'reviewTime',
  }
]
